
// 自动生成模板LsShop
package shops
import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
)

// lsShop表 结构体  LsShop
type LsShop struct {
    global.GVA_MODEL
    ShopName  *string `json:"shopName" form:"shopName" gorm:"column:shop_name;comment:店铺名称;size:30;" binding:"required"`  //店铺名称
    ShopImg  *string `json:"shopImg" form:"shopImg" gorm:"column:shop_img;comment:小程序头像;size:100;"`  //小程序头像
    ShopStatus  *string `json:"shopStatus" form:"shopStatus" gorm:"column:shop_status;comment:营业状态;size:20;" binding:"required"`  //营业状态
    ShopTime  *string `json:"shopTime" form:"shopTime" gorm:"column:shop_time;comment:营业时间;size:50;" binding:"required"`  //营业时间
    ShopTel  *string `json:"shopTel" form:"shopTel" gorm:"column:shop_tel;comment:门店电话;size:11;" binding:"required"`  //门店电话
    ShopAddress  *string `json:"shopAddress" form:"shopAddress" gorm:"column:shop_address;comment:门店地址;size:50;" binding:"required"`  //门店地址
    CreatedBy  uint   `gorm:"column:created_by;comment:创建者"`
    UpdatedBy  uint   `gorm:"column:updated_by;comment:更新者"`
    DeletedBy  uint   `gorm:"column:deleted_by;comment:删除者"`
}


// TableName lsShop表 LsShop自定义表名 ls_shop
func (LsShop) TableName() string {
    return "ls_shop"
}





